Cognitive function and treatment of obstructive sleep apnea syndrome