Memantine for the treatment of dementia