Physical activity improves cognitive function in people with memory impairment