S&P, Dow eke out another record closing high as Nvidia momentum endures