A Behavioral Theory of Electoral Structure