Natural resources and the macroeconomy