Polls have closed in the swing states of Georgia and North Carolina as voters decide whether Donald Trump or Kamala Harris will be the next US president.