Paranoid cognition in social systems: Thinking and acting in the shadow of doubt