Deuterium and tritium from solar flares of 10 MeV per nucleon