Curve severity and apical vertebral rotation and their association with curve flexibility in adolescent idiopathic scoliosis