India rupee ends higher but oil companies' dollar buys cap gains