Effects of physical exercise on cognitive functioning in the elderly