Barack Obama accuses Donald Trump of campaigning by 'scapegoating'