The US president also says the ex-foreign secretary Boris Johnson “would make a great prime minister”.