Networks of Influence Diagrams: A Formalism for Representing Agents' Beliefs and Decision-Making Processes