Lattice dynamical calculations of trans and cis polyacetylene