the united states flag of 1777 was used until