Laser Raman studies of orientational dynamics of molecular ions and phase transformations in ammonium perchlorate single crystals