Effect of nuclear motion on Mössbauer relaxation spectra