Isomerization mechanisms from cis to trans form in polyacetylene