Luminescence of insulating Be-doped and Li-doped GaN