Study of defects in wide band gap semiconductors by electron paramagnetic resonance