Multilevel Resistive Switching in Hf-Based RRAM