Functional equations in cooperative game theory