Real Exchange Rates, Economic Complexity, and Investment, WP/18/107, May 2018