Capital adequacy rules, catastrophic firm failure, and systemic risk