Tailoring the Spectral Transmission of Optofluidic Waveguides