Rib movement in health, kyphoscoliosis, and ankylosing spondylitis