Sensex, Nifty End Flat Amid Volatility, Metals and PSBs Outperform