The role of the counter-ion in the preparation of polypyrrole films with enhanced properties using a pulsed electrochemical potential