Study on the electrical conduction mechanism of polypyrrole films