High-speed optical Fourier transformer