Self-consistent calculation of solitons in polyacetylene