Domain behavior during the folding of a thermostable phosphoglycerate kinase.