The democratic and republican candidates for president are formally nominated by the __________. national party committees presidential primaries and caucuses electoral college national party conventions