Optimal control of a production-inventory system with product returns