S&P 500 closes slightly higher as stimulus hopes lift cyclical stocks