Inelastic scattering of neutrons from medium and heavy nuclei