Self-compliance RRAM characteristics using a novel W/TaO x /TiN structure