Efficient design of WDM ring networks with optical amplifiers