Energy-adaptive calculation of the most likely path in proton CT