Effects of the density and homogeneity in NIRS crop moisture estimation