S&P 500 ends down slightly; bank shares mostly lower after results