Influence of gravity on the manipulability ellipsoid for robot arms