Nonlinear optical properties of regioregular main-chain polyesters