Copper oxide phase content and its effect on the electric pulse induced resistive switching characteristics of CuxO resistive random access memory