The distinction between different types of dementia using evoked potentials.