On the theory of the scattering of neutrons by magnetic ions in crystals