Magnetic field dependence of antiferromagnetic resonance in NiO