Dementia risk after spontaneous intracerebral haemorrhage: a prospective cohort study