Parameter analysis for the design of statically balanced serial linkages using a stiffness matrix approach with Cartesian coordinates