Effects of Plant Density, Nitrogen Application, and Water Stress on Yield Formation of Maize