Optimization of tunable dual wavelength erbium‐doped fiber laser