Optimal Size and Location of Warehouses under Risk of Failure