Prevalence of osteoporosis and vertebral fractures and related factors in patients with ankylosing spondylitis.