Physical modeling of charge transport and degradation in HfO 2 stacks for logic device and memory applications