Electronic properties of metal/polypyrrole junctions