Gait patterns in a community-dwelling population aged 50 years and older