Equivalence of dimensional reduction and dimensional regularisation