Provisions of the death penalty in the theory of punishment from the perspective of national legal objectives