Development of the legal and economic foundations of local self-government in the Russian Federation: the anti-crisis aspect