Soil water deficit suppresses development of maize ear by altering metabolism and photosynthesis