Essays in the political economy of voting and reforms