Theoretical study of electronic and transport properties of PPy–Pt(111) and PPy–C(111):H interfaces