Synthesis and characterisation of polyesters with nonlinear optical properties