SOX9 switch links regeneration to fibrosis at the single-cell level in mammalian kidneys