Association between gait and cognition in an elderly population based sample