New York City hit by extreme rainfall and 'dangerous' flooding