Second order nonlinear optical performances of polymers containing imidazole and benzimidazole chromophores