Association of corneal nerve fiber measures with cognitive function in dementia