Control of band gaps of conjugated polymers by copolymerization