Nifty, Sensex end higher on rally in steelmakers, energy stocks | Sharefundss