When bad things happen to good banks : contagious bank runs and currency crises