Studies on nonvolatile resistance memory switching in ZnO thin films