what was the peace settlement for the 1812 war?