Mass Beliefs and Democratic Institutions