The molecular evolution of spermatogenesis across mammals