Higher input costs have weighed on half-year profits at UK baker and confectioner Lees Foods.