Delirium superimposed on dementia is more predictive of adverse outcomes than dementia alone