A comparative analysis of the intellectual–mental disorders in patients with brain gliomas and meningiomas after surgical treatment