Thermal equilibrium in the quantum state diffusion picture