Resistive switching of in situ and ex situ oxygen plasma treated ZnO thin film deposited by atomic layer deposition