Impact of a history of cardiovascular disease and physical activity habits on the incidence of functional disability