Deposit insurance, bank regulation, and financial system risks