Dual-energy CT spectra optimization for proton treatment planning