Modeling the Interactions between Discrete and Continuous Causal Factors in Bayesian Networks