Factors influencing doping control and abrupt metallurgical transitions during atmospheric pressure MOVPE growth of AlGaAs and GaAs