On the combined use of WDM and SDM in optical networks