A study of polypyrrole synthesized with oxidative transition metal ions