B&G Foods has posted an increase in net profit and sales in the first half of the year - but lowered a target for adjusted EBITDA.