Profits beat expectations as high-margin areas help to offset lower production following impact of $38bn asset disposal programme