Numerical method for solving stochastic differential equations with dichotomous noise.