Randomized Evaluation of Institutions: Theory with Applications to Voting and Deliberation Experiments