Joint modeling of genetic linkage and association