Local Structure in Halogen-Doped Polyacetylene from X-Ray Absorption Spectroscopy