Correlation between vibrational spectra and electrical conductivity of polythiophene