Linkage of viability genes to marker loci in selfing organisms