Optimal production policies for multi-stage systems with setup costs and uncertain capacities