The relationship between severity and extent of spinal involvement and spinal mobility and physical functioning in patients with ankylosing spondylitis