Stochastic models of evidence accumulation in changing environments