Neuroimaging and connectomics in dementia and brain tumours