Coherence, decoherence, and memory effects in the problems of quantum surface diffusion