Mössbauer spectra and magnetic properties of iron nitrides