Impact of Heterogeneity and Risk Aversion on Task Allocation in Multi-Agent Teams