Prevalence and risk factors for cognitive impairment in patients with psoriasis