How did the timing of the declaration of war compare to the conflicts in North America between Britain and France?