how to diagnose a brain injury