Text this: Optical sensor for surface plasmon resonance spectroscopy