Evaluation of spinal deformity by means of intrinsic curvature and torsion