Optimization of wavelength tuning of erbium-doped fiber ring lasers