B&G Foods has reported an increase in sales and net profit for the first half of 2015.