Chemical vapor deposition of titanium nitride thin films: kinetics and experiments