Apparatus for electrophoresis, magnetotherapy and myostimulators