Discriminant function analysis of Fuld's formula and WAIS subtests in different types of dementia