Optimal control of production and remanufacturing in a simple recovery model with linear cost functions