Mayor declares weather emergency in New York City