why did france decide to aid the united states in its war for independence