Measurement of the 13C(n,γ)14C cross section at stellar energies