Oil and the macroeconomy: a quantitative structural analysis