The macroeconomic consequences of terrorism