Mathematical modelling of haemorrhagic transformation in the human brain