Right ventricular function assessed by thermodilution technique during apnea and mechanical ventilation