Energy-dispersive measurement and comparison of different spectra from diffraction X-ray tubes