Breeding system evolution in relation to adult sex ratios