Impurity Resonant States p-type Doping in Wide-Band-Gap Nitrides