How governments and central banks respond to financial crises