Factors associated with cognitive impairment among older Italian in patients