John Adams, Alexander Hamilton and the Quasi-war with France