Emergency declared in El Salvador after torrential rains