Coalitions in cooperative and non-cooperative game theory