Ground state hyperfine structure and nuclear magnetic dipole moments of177Hf and179Hf