Influence of state of health and personality factors of resilience and coping in healthy subjects and those with diabetes