On the effect of periodic Mg distribution in GaN:δ-Mg