A new approach to the intensity correction for matrix effects in the X-ray fluorescence analysis of ores