Effect of edges on the reliability of GaAs and (AlGa) as heterojunction leds