Essays on the role of inventories in the analysis of trade policy