Measurement of reaction times in tasks of varying complexity: an indication of the degree and evolution of mental deterioration in the elderly