Irish food group Greencore increased profit for the first half year ended 25 March but was hit by the costs of reorganising its sugar arm.