Multiscale modeling of charge transfer in polymers with flexible backbones.