Stability of backward stochastic differential equations