Study on the formation of the ketonic defects in the thermal degradation of ladder-type poly(p-phenylenes) by vibrational spectroscopy.