weight loss affects thinking