Multiwavelength fiber lasers with tunable wavelength spacing