Waveguide platforms for mid-infrared on-chip spectrometer applications.