Tullow Oil swings to profit in first half; CFO to step down