On the equivalence of the Euclidean and Wightman formulation of field theory