Redox-dependent rearrangements of the NiFeS cluster of carbon monoxide dehydrogenase