Mg+ and Be+ ion implantation into AlxGa1−xAs