Cognitive impairment and pragmatics