Mendelian randomization in family data