Measurement of B (t →wb) /B (t →wq) in top-quark-pair decays using dilepton events and the full CDF run II data set