Credit in the macroeconomy