Spin torque ferromagnetic resonance with magnetic field modulation