A winter storm has shut down New York City and much of the US Northeast, bringing heavy snowfall and strong winds.