Engineering 6-phosphogluconate dehydrogenase improves grain yield in heat-stressed maize