Slowing inflation growth lifts Dow, S&P to records