McCain was one of most influential US politicians of the past century never to win the White House