Structure of thin films of poly(3,4-ethylenedioxythiophene)