On the determination of energy losses by charged particles from the backscattered energy spectra