Influence of macromolecule main chain structure on electron excitation energy transfer in carbazole-containing polymers