Isotope effect of nuclear magnetic resonances in metallic mercury