Numerical integration of stochastic partial differential equations