On-line optimal wavelength assignment in WDM networks with shared wavelength converter pool