The effects of preparation conditions on the properties of electrochemically synthesized thick films of polypyrrole