The cultural evolution of epistemic practices: the case of divination