Design of an On-Chip Absorption Spectrometer Using Optofluidic Slotted Photonic Crystal Structures