Impact of medical treatment on the outcome of patients after aneurysmal subarachnoid hemorrhage