At least 272 people have been confirmed dead and more than 1,500 people injured after Ecuador was hit by its most powerful earthquake in decades.