Shell, TotalEnergies profits slump as oil, gas prices cool after bumper 2022