Impact of habitual physical activity and type of exercise on physical performance across ages in community-living people