Local-structure determination in interhalogen-doped polyacetylene by X-ray absorption spectroscopy