Management of natural and man-made safety of a subject of the Russian Federation