Ambipolar diffusion contribution to high-temperature thermal conductivity of titanium carbide