A Geometric Approach to Capacity Provisioning in WDM Networks with Dynamic Traffic