A powerful earthquake in western Colombia has killed dozens of people and left others trapped under rubble.