Inference of BN and BDN Models of Genetic Networks Using Monotonous Time Transformations