Theory of Critical Magnetic Scattering of Neutrons by Ferromagnet and Antiferromagnet