The US president-elect Donald Trump has met President Obama at the White House for talks aimed at smoothing the transition of power.