Neutron total cross sections on protons and nuclei in the 10 to 30 GeV/c momentum range