Earthquake hits Ecuador and Peru causing widespread damage