Synthesis and characterization of carbazole polymers exhibiting large nonlinear absorption and refractive index