$ 0 0 BP made profits of $5.3bn (£3.2bn) in the three months to 30 June as higher oil prices offset lower production.