Three-dimensional curvature and kinematic analysis of the human spine