New York Stock Exchange closes higher