Evolutionary Synthesis of Bayesian Networks for Optimization