Characterization of cofactor-dependent and cofactor-independent phosphoglycerate mutases from Archaea