Budget allocation for permanent and contingent capacity under stochastic demand