Elections in the French Revolution: An Apprenticeship in Democracy, 1789-1799