Analytical Study of Effects of Flow Rate, Capillarity, and Gravity on CO/Brine Multiphase-Flow System in Horizontal Corefloods