Bank funding, credit growth and macroprudential regulation : doctoral dissertation