State of emergency declared in Ecuador