Localized metal doping effect on switching behaviors of TaOx-based RRAM device