Leakage current in HfO2 stacks: from physical to compact modeling