In the conflict, who lead the German states of the North German Confederation