3-D study of scoliotic compensation by comparison of spinal deformities to rib cage deformities