Molecular mechanisms of differentiation in mammalian spermatogenesis