Evidence for maternally inherited factors favoring male homosexuality and promoting female fecundity