Effect of composition and thickness on corrosion behavior of TiN and ZrN thin films