Almost sure stability of stochastic differential equations