Application of proton-induced X-ray emission to quantitative trace element analysis