Wall Street closes higher with new records for the S&P 500 and Nasdaq