Cross sections for 6Li production in the reactions 10B + 16O and 12C + 14N at low energies