Psychological variables associated with weight loss in obese patients seeking treatment at medical centers