Influence of dopant ion and synthesis variables on mechanical properties of polypyrrole films