g-Factors of high-spin isomers in 194Hg and 196Hg