Stability, diffusion, and complex formation of beryllium in wurtzite GaN