Copolymers containing electronically isolated indolyl fragments as materials for optoelectronics