New York City mayor declares state of emergency over migrants