Optimal planning of virtual content delivery networks under uncertain traffic demands