The grafting density and thickness of polythiophene-based brushes determine the orientation, conjugation length and stability of the grafted chains