Two of New York's biggest airports have resumed operations but airlines have been forced to cancel more than a thousand flights.