when did the american war of independence begin and end