Application of thermodynamics to the examination of the diamond CVD process from hydrocarbon-hydrogen mixtures