An improved method for estimating the neutron background in measurements of neutron capture reactions