Dementia and motor neuron disease