Feasibility study of a proton CT system based on 4D-tracking and residual energy determination via time-of-flight