Pore-scale study of fluids flow and fluid-fluid interactions during near-miscible CO2 EOR and storage in oil reservoirs