Stochastic models of memristive behavior