Application of thermodynamics to the examination of the diamond CVD process II. A model of diamond deposition process from hydrocarbon-hydrogen mixtures