Sensex, Nifty end in the red; Yes Bank, Dr Reddy’s Lab, SBI major gainers