Magnetic field sensitivity of the photoelectrically read nitrogen-vacancy centers in diamond