Unusually large waves hit the coasts of Peru, Ecuador and Chile, causing considerable damage and loss of life.