Ballots and Barricades: Class Formation and Republican Politics in France, 1830-1871