Beryllium Doping in MBE-grown GaAs and AlGaAs