Laser ionization mass spectrometry study of undoped and I2-doped polyphenylacetylene