The conformational bases for the two functionalities of 2-cysteine peroxiredoxins as peroxidase and chaperone