Discovering genetic and environmental determinants of nutritional and agronomic traits in maize