Deuteron-induced reactions in 12C at bombarding energies of 5 to 10 MeV