Residual defects in AlGaAs co-implanted with Be and P or As