U.S. Army cannons punctuated the Boston Pops’ performance of the 1812 Overture, a Boston Fourth of July tradition.