Learning Bayesian Networks From Timed Data