Hillary Clinton and Barack Obama have sought to calm a nation stunned either in horror or joy, calling for an orderly transition of power and full acceptance of president-elect Donald Trump's electoral win.