Virginia and New Jersey prepare for tight gubernatorial races