Origin and transition of sex determination mechanisms in a gynogenetic hexaploid fish