Imperfect quality items in inventory and supply chain management