Optimal Capital Controls and Real Exchange Rate Policies: A Pecuniary Externality Perspective · Study