Size effects on solvent diffusion in polymers