A Thermodynamic Criterion for Selection of Gas Compositions for Diamond Deposition