Random telegraph noise in HfOx Resistive Random Access Memory: From physics to compact modeling