Effects of moisture and redox reactions in VCM and ECM resistive switching memories. (21st August 2018)