Determination of polarizabilities and lifetimes for the Mg, Zn, Cd and Hg isoelectronic sequences