Precision neutron total cross section measurements on gold and cobalt in the 40 ?eV-5 meV range