Giant waves kill at least 1 in Ecuador, close ports in Peru