A causal mapping approach to constructing Bayesian networks