Stability of synchronized chaos in coupled dynamical systems