Microscopic calculation of the Majorana parameters of the interacting boson model for the Hg isotopes