When are women willing to lead? The effect of team gender composition and gendered tasks