The time series momentum effect: the impact of information diffusion and time-varying risk