Plasma implantation technique for incorporation of foreign elements into polymer films