Hydrogen locations, diffusion and the electronic density of states in yttrium dihydrides: A nuclear magnetic resonance investigation