'Stop whining' about U.S. elections being rigged, Obama tells Trump