The energy giant's profits jump by nearly a quarter as it benefits from the recent volatility in the oil price