Frequency-dependent selection in logistic growth models