Functionalizable self-assembling polydiacetylenes and their optical properties