Terms of Trade and Growth of Resource Economies: A Tale of Two Countries