Altered pasts: counterfactuals in history