this war ended with the formation of the union of south africa; uniting the cape colony, natal, transvaal and the orange free state