one function of gel electrophoresis is to