Computation of the electrophoretic mobility of proteins