The flash and pattern VEP as a diagnostic indicator of dementia