The Determinants of Bank Failures in Normal and Crisis Times and the Resolution of Failed Banks