Monte Carlo simulation of Cd and Te diffusion during the growth of CdTe thin films by close-spaced sublimation