mental competency hearing