Evolutionary dynamics in frequency-dependent two-phenotype models.