Swedish confectionery group Cloetta returned to profit in the first half but said the confectionery market in Europe remained "weak" in the quarter.