A social capital explanation of the relationship between functional diversity and group performance