Modal control of production-inventory systems using piecewise-constant control policies