Diamond nucleation from the gas phase: a kinetic approach