Cognitive Function in Adolescent Patients with Anorexia Nervosa and Unipolar Affective Disorders.