Numerical methods for forward-backward stochastic differential equations