A mechanistic model of case-II diffusion of a diluent into a glassy polymer