Trump temperament "won't serve him well" in White House: Obama