Enhancement of resistive switching ratio induced by competing interfacial oxygen diffusion in tantalum oxide based memories with metal nitride electrode