Study of cis-trans isomerization of polyacetylene induced by doping