Nonvolatile memory cells based on the effect of resistive switching in depth-graded ternary HfxAl1 − xOy oxide films