Electronic properties of metal-poly(pyrrole) junctions†