On the Mössbauer effect