Synthesis and applications of hyperbranched polymers