Qatar Petroleum to buy 35% stake in Mexican offshore oilfields