John Mackintosh (historian)