Age-varying effects in genetic epidemiological studies