Which countries became allies of the colonists during the American Revolution