A vendor managed inventory supply chain with deteriorating raw materials and products