Effects of nitrogen addition and growth condition on the enhanced mechanical properties of transition metal carbides TMC (TM = Zr, Hf)