Characterization of semi conducting polymer film synthesized by chemical and electrochemical polymerization