Molecular dating for phylogenies containing a mix of populations and species by using Bayesian and RelTime approaches