Schottky barrier type diode with an electrochemically prepared copolymer having pyrrole and N-methylpyrrole units | Synapse