Differentiation and transdifferentiation in the mammalian gonad