Dow, S&P close at new record highs