Bayesian reconstruction of the evolutionary history and cross-species transition of variola virus and orthopoxviruses