Epigenetic Mechanisms In Sex Determination And In The Evolutionary Transitions Between Sexual