Bank capital and systemic stability