Characterization and investigation of NLO properties of electrodeposited polythiophenes