The epistemic ambitions of the criminal trial: truth, proof, and rights