Heavy fighting has erupted between Armenia and Azerbaijan over the disputed Nagorny Karabakh region, with civilian deaths reported by both sides.