Biden takes lead in Pennsylvania, on cusp of presidency