Influence of a memory training program on attention and memory-performance of patients with dementia