Dow, S&P 500 close at records as U.S. infrastructure bill clears Senate