Boosted by Earnings Reports, S&P and Nasdaq Hit New Heights