Diffusion of moisture into two-phase polymers