A conformational relaxation approach to polypyrrole voltammetry