Correlation between prognostic factors, ICU treatment and functional outcome in aneurysmal subarachnoid hemorrhage: a retrospective study