Electrochemical applications of the bending beam method. 1. Mass transport and volume changes in polypyrrole during redox