Harmful effects of mechanical ventilation on neurocognitive functions