Evolution of extraordinary female-biased sex ratios: the optimal schedule of sex ratio in local mate competition