Sensex and Nifty End Higher Amid Volatility as RIL, Metals Shine