ultra-miniaturised spectrometer