Sex, polyps, and medusae: Determination and maintenance of sex in cnidarians