Domain interactions direct misfolding and amyloid formation of yeast phosphoglycerate kinase