Effect of ammonium ion reorientation on the anomalous temperature dependence of nuclear quadrupole resonance frequencies