The mechanism of sex determination in dioecious flowering plants.