B&G Foods has booked an increase in third-quarter income, boosted by price hikes and the contribution from acquisitions.