Terminal weaning or immediate extubation for withdrawing mechanical ventilation in critically ill patients (the ARREVE observational study)