Gravar-mail: Geometric structure of spinal curves: application to adolescent idiopathic scoliosis