The Dow Jones and S&P 500 closed at record highs on Wednesday after data showed that US inflation has slowed…