Treatment of ankylosing spondylitis and other spondyloarthritides