Reforming local self-government in modern Russia: stages, trends and ways of optimization