Housing finance in the macroeconomy