Predicting 30-day mortality in intensive care unit patients with ischaemic stroke or intracerebral haemorrhage