Profit-Driven Team Grouping in Social Networks