Heat transport by lattice and spin excitations in the spin-chain compounds SrCuO 2 and Sr 2 CuO 3