Comparing performance on the Months of the Year Backwards test in hospitalised patients with delirium, dementia, and no cognitive impairment: an exploratory study