Coupling between protein stability and catalytic activity determines pathogenicity of glucose-6-phosphate dehydrogenase (G6PD) variants