Peru declares state of emergency over mine protests