Cognitive functioning, weight change and therapy in anorexia nervosa