Multilayer optical system for detection of infrared spectra of functionalized diamond surfaces