Hollow-core waveguides and 2-D waveguide arrays for integrated optics of gases and liquids