New York to distribute 1 million free N95 masks Thursday amid hazardous smoke levels