Stocks rise, S&P 500 approaches another all-time high