Stability and cooperative solution in stochastic games