mentally competent to stand trial