Total neutron cross sections of the hydrogen and helium isotopes