Commodity prices and macroeconomic dynamics