Thermodynamics of C incorporation in Si(100)