Error model diagnostics in the general linear model relevant to the analysis of repeated measurements and field experiments