Environmental and genotype-environmental components of variability. VII. Simultaneous prediction across environments and generations