State policy of ensuring national security of modern Russia and the problems of its optimization