Thermodynamics of C incorporation on Si(100) from ab initio calculations.