Ecological fitting by phenotypically flexible genotypes: implications for species associations, community assembly and evolution.