More severe thoracic idiopathic scoliosis is associated with a greater three-dimensional loss of thoracic kyphosis