Impact of dispersion on the output characteristics of an all-fiber Er-doped nanosecond mode-locked figure-eight laser with passive nonlinear optical loop mirror