Line shape of Mössbauer relaxation spectra