Factors associated with psychological and behavioral functioning in people with type 2 diabetes living in France