BP scales back plan to cut oil and gas output after record $28bn profit