Usefulness of Bayesian networks in epidemiological studies