A rational expectations equilibrium model of inventories of finished goods and employment