Crystal structure of glucose-6-phosphate dehydrogenase W509A mutant in complex with catalytic NADP+