Sex differences in the effects of residential treatment on the quality of life of eating disorder patients