Thousands left homeless by giant Chile quake