The memristor, a resistor with a memory, could replace the transistor