Predicting functional outcome and survival after acute ischemic stroke