Design of CO2-in-Water Foam Stabilized with Switchable Amine Surfactants at High Temperature in High-Salinity Brine and Effect of Oil