Quantifying the effect of anode surface roughness on diagnostic x-ray spectra using Monte Carlo simulation.