Tardive dyskinesia and cognitive impairment