Fabrication of waveguide structures from soluble polydiacetylenes