Cognition and quality of life in patients with brain tumors