The economics and management of inventories