Photoluminescence of erbium-implanted GaN and in situ-doped GaN:Er