what peace agreement ended the war of 1812?