The independence transformation of specific substitutes and specific complements