Direct measurement of stellar neutron capture rates of ¹⁴C and comparison with the Coulomb breakup method