The Boston Bruins scored twice in 27 seconds in the third period to emerge with a 2-1 win over the Philadelphia Flyers.