Predictors of cognitive impairment in advanced Parkinson’s disease