Structures, varistor properties, and electrical stability of ZnO thin films