Solubility of gases in polymeric membranes