Swing states and undecided voters: how to win the White House