Controllable silver embedding into polypyrrole