Estimate of the two smallest singular values of the Jacobian matrix: Application to damped least-squares inverse kinematics