Ab initio model for GaAs1−xNx chemical beam epitaxy using GaAs(100) surface stability over As2, H2, and N2