Vibrational spectroscopic studies of the diffusion and perturbation of water in polymeric membranes