The affective consequences of diversity and homogeneity in groups