Concentration-dependent transport of gases and vapors in glassy polymers