Near-edge x-ray-absorption fine-structure observations of ordering and metalliclike behavior in organic conducting polymers grafted on a Pt surface.