Strong approximation of stochastic processes using random walks