Kinetic-thermodynamic model for carbon incorporation during step-flow growth of GaN by metalorganic vapor phase epitaxy