Prospective study on the presence of cognitive impairments in patients with brain tumors