Optimal Price and Inventory Adjustment in an Open-Economy Model of the Business Cycle