Text this: Development and characterization of optical sensors based on evanescent wave and photoacoustic detection