Design and stiffness analysis of a compliant spherical chain with three degrees of freedom