A large memory window and low power consumption self-rectifying memristor for electronic synapse