How Judicial Elections Impact Criminal Cases