How is the sex of a newborn determined in humans?