Electronic structure and 89Y spin-lattice relaxation for YH2