A molecular viewpoint of lattice dynamics and spectra of conducting polymers