Thermally induced crystal-to-crystal transformations accompanied by changes in the magnetic properties of a CuII-p-hydroquinonate polymer