A nation on trial: America and the War of 1812