Approximation of a transmission spectrum of MgO by a damped oscillator with relaxation