Spin diffusion and spin-lattice relaxation of deuterons in solids