ESM 64 Financial imbalances and macroeconomic tail risks: A structural regime-switching investigation