Cationic synthesis of macromers