Compare the effect of noninvasive ventilation and tracheotomy in critically ill mechanically ventilated neurosurgical patients: a retrospective observe cohort study