Electrochemical synthesis and corrosion performance of poly(pyrrole-co-o-anisidine)