A multimodal spectrometer for Raman scattering and near-infrared absorption measurement