Synthesis and characterization of novel hyperbranched polymer with dipole carbazole moieties for multifunctional materials