Ida brings flash floods to New York, disrupting subways, flights