Prohibitions on punishments in private contracts