Formation of electoral legislation to the estate bodies of noble self-government in the second half of the 18th ‒ early 19th century (based on the materials from the Nizhny Novgorod province)