Email Record: Model of the competitive growth of amorphous carbon and diamond films