The legal mechanism for protecting the foundations of the constitutional system of the Russian Federation