Localized vibrations in GaP doped with Mn or As