Sensex, Nifty extend rally; IT stocks cap gains | Sharefundss