Integrated optical waveguides with liquid cores