Structural control over conductivity and conduction type in thin films of polyphenylquinones