On-chip interrogator based on Fourier transform spectroscopy