Essays on the Role of Banks in the Macroeconomy