Adjusting heterogeneous ascertainment bias for genetic association analysis with extended families