S&P 500 ends slightly higher but banks and energy weigh - Reuters.com