Monte Carlo simulation of photon emission below a few hundred kiloelectronvolts for beam monitoring in carbon ion therapy.