Activation of respiratory muscles during weaning from mechanical ventilation