What is the legal principle that prevents a person from being tried twice for the same offense after an acquittal or conviction?