A nonparametric dynamic causal model for macroeconometrics