Excited state dynamics of conducting polymers studied by time-resolved optical and terahertz spectroscopy