Nonlinear I–V relations and hysteresis in solid state devices based on oxide mixed-ionic–electronic conductors