In situ pore-scale analysis of oil recovery during three-phase near-miscible CO2 injection in a water-wet carbonate rock