Computer-assisted extrapolation method for absorption correction in quantitative X-ray microanalysis