An economic production lot-size (EPLS) model with rework and flexibility under allowable shortages