Effects of Foam Quality and Flow Rate on CO2-Foam Behavior at Reservoir Temperature and Pressure