MEMS Fourier transform IR spectrometer