Essays on macroeconomic effects of international trade barriers