Race for the White House narrows as votes are counted in key battlegrounds.