Essays on the microfoundations of legislative decisionmaking