What is a state of mental instability that leaves defendants unable to understand the legal charges and proceedings they are facing and unable to prepare an adequate defense with their attorney