Frequency dependence of third harmonic generation in polyacetylene