Dynamic modeling and parameter identification based on the least squares method for 6-DOFs manipulator