Coupled electron/photon Monte Carlo calculations of X-ray scattering with application to industrial radiography