Nifty gains 0.35% while Sensex rises 0.25% after Fed hike