Tuning of electronic properties and rigidity in PEDOT analogs