Thermal properties of ammonium nitrate: II. Study of modification transformations and their completeness by the change of heating mode