Networks of Beliefs: An Integrative Theory of Individual- and Social-Level Belief Dynamics