Fourier methods for numerical solution of FBSDEs with applications in mathematical finance