Preparation of hyperbranched copolymers containing triphenylamine and divinylbenzene units