Diffusion of photons with arbitrary state of polarization: the Monte Carlo code MCSHAPE.