A simulation framework for modeling charge transport and degradation in high-k stacks