As his new book on pandemics is published, the UK’s best-known historian tells Matthew Reisz that identity politics is inhibiting history, nationalism only intensifies during global crises, and a refusal to communicate history to the public amounts to mere ‘connoisseurship of the dead’