Internal troops in the mechanism of the Russian state of the XVIII-XIX centuries. : (historical and legal research)