On the role of population heterogeneity in emergent communication