Effect of nuclear modulation on field-swept electron spin-echo spectra