Factors associated with the functional capacity of elderly individuals with hypertension and/or diabetes mellitus