Statistical mechanical model of diffusion of complex penetrants in polymers. I. Theory