Switching failure behaviors and doping enhanced performances of Ni/Al2O3/p+Si resistive switching devices