Competitive integration of time and reward explains value-sensitive foraging decisions and frontal cortex ramping dynamics | Synapse