Trace element analysis by proton-induced X-ray excitation