Thick layers of PPy and PTh: Electrosynthesis and modification of electrical parameters by ion implantation. p-n junctions