Essays on financial institutions and instability