The efficiency of advance-purchase discounts in the presence of aggregate demand uncertainty