WAG Management with Foams: Influence of Injected Gas Properties and Surfactant Adsorption