Characterization of a system that combines energy dispersive X-ray diffraction with X-ray fluorescence and its potential applications in archeometry