How do US ‘swing states’ decide presidential elections?

The seven states where Democrat Kamala Harris or Republican Donald Trump will win – or lose – the White House.