how did the french alliance contribute to the american revolution