The energy giant reported record first-half profits but expects a weaker third quarter performance amid lower demand.