Dow, S&P 500 hit records as infrastructure bill passes Senate