Drought and flooding resistances of maize germplasm are compared and evaluated using a multivariate analysis method