Postoperative complications in elective and non-elective neurosurgery