Study of defects in diamond films with electron paramagnetic resonance measurements