Study of influence of annealing on defects in diamond films with ESR and IR measurements