Phase-locked RHEED oscillations during MBE growth of GaAs and AlxGa1−xAs