Synthesis and nonlinear optical properties of functionalised polydiacetylenes and their complexes with transition metals