Complete isotopic distributions of fragments produced in transfer- and fusion-induced reactions