Intensity-dependent spectra of pulses propagating in optical fibers