Dynamic modeling of groundwater pollutants with bayesian networks