Statistically sound evaluation of trace element depth profiles by ion beam analysis