Numerical algorithms for semilinear parabolic equations with small parameter based on approximation of stochastic equations