France and Spain supported the colonists during the American Revolution by