Structure-Dependent Influence of Moisture on Resistive Switching Behavior of ZnO Thin Films