Component selection for a compact micro-XRF spectrometer