S&P 500 surpasses 7,000 for the first time since January