Scattering of polarized neutrons by intermediate and heavy nuclei