How is sex determined in human beings?