Presidential historian compares presidents in wartime