Pain and physical function in patients with spondyloarthritis