Polythiophene thin films electrochemically deposited on sol–gel based TiO2 for photovoltaic applications