Conjugated palladium complex with poly(3-heptylpyrrole) and its application