Reversible single-crystal to single-crystal transformations in a Hg(II) derivative. 1D-polymeric chain <=>2D-networking as a function of temperature.