does a hermaphrodite have both parts