Ecuador declares state of emergency over protests