Preparation of a porous conducting polymer film by electrochemical synthesis–solvent extraction method