Crystal-chemical functions of [Hg2]2+ and [Hg3]4+ groups in inorganic structures