S&P 500 and Nasdaq Indexes Close at Record Highs