Impairment in psychosocial functioning in patients with different subtypes of eating disorders.