how did other nations contribute to the american revolution?