Temperature Effects in Nuclear Quadrupole Resonance Spectroscopy