How is maleness and femaleness determined?