Hermaphrodites and the Medical Invention of Sex