Apparatus for electrophoresis