who is entitled to a trial by jury