A data smoothing approach to explore and test gene-environment