Local vibrational modes in Mg-doped gallium nitride.