Localized states in polyacetylene