Gravar-mail: Influence of composition, bonding characteristics and microstructure on the electrochemical and optical stability of AlOxNy thin films