Bayesian Phylogenetic Inference Using Dated Dna Samples With Applications To Hiv Latency And Ancient Dna