Investigation of the phase situation in polycrystalline [Mg(NH3)6](ClO4)2 by adiabatic calorimetry and X-ray diffraction methods