The prevalence and risk factors for cognitive impairment in obesity and NAFLD