Genetic markers as instrumental variables