Essays on International Macroeconomics and Trade