Syntheses and optical, electrochemical, and photovoltaic properties of polymers with 6-(2-thienyl)-4H-thieno[2,3-b ]indole with a variety of electron-deficient units