US stocks end higher in volatile session as traders assess rate outlook and bank concerns