Factors associated with work ability in adults with diabetes