Essays on banking competition, regulation and stability