Investigating physical and chemical changes in high- k gate stacks using nanoanalytical electron microscopy