India will buy oil from ‘wherever we have to’ if terms are beneficial, energy minister says