Heteromolecular nucleation theory applied to gas-to-particle conversion