Miniature Fourier transform spectrometer with a dual closed-loop controlled electrothermal micromirror