Random regression models for detection of gene by environment interaction