Analysis of temperature-dependent electron-paramagnetic-resonance spectra for S-state ions in MgO.