Design of integrated planar waveguide optical sensors for hydrocarbon monitoring