More than 500 residents were evacuated from their homes in the northern Ecuadorean province of Esmeraldas, which borders Colombia, as heavy rain caused six rivers to overflow.