courtroom mental health defense