A prospective study of impairment of cognition and memory and recovery after subarachnoid hemorrhage.