Disease activity is associated with cognitive impairment in patients with rheumatoid arthritis