Improvement of thermal stability of metal/oxide interface for electronic devices