Low-cost planar waveguide-based optofluidic sensor for real-time refractive index sensing.