Ab Initio Calculations of Kinetic Properties in ZrC and TiC Carbides